<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel='stylesheet' href='../css/index.css'>
<script src='../js/title.js'></script>
</head>
<body>
<div id='title1'>
<%
	String sessionmid=(String)session.getAttribute("sessionmid");
	if(sessionmid==null)
	{
%>
	<form name='frm' method="post" action='../member/login.jsp'>
		<label>아이디<input type='text' size='6' name='mid'/></label>
		<label>암호<input type='password' size='6' name='pwd'/></label>
		<input type='button' value='로그인' id='btnlogin'>
	</form>
<%	}
	else
	{
%>
	<input type='button' value='로그아웃' id='btnlogout'>
	[궈니켜니안녕]
<%	}
%>
</div>
<script>titleinit();</script>
</body>
</html>